mixin dateSpan(date)
    -var value = (date)?new Date(date).Format('yyyy-MM-dd hh:mm:ss'):''
    span= value


mixin dateInput(date, id)
    -var value = (date)?new Date(date).Format('yyyy-MM-dd hh:mm:ss'):'';
    input.form-control(id=id, value=value)


mixin modal
    #response.modal
        .modal-dialog
            .modal-content
                .modal-body
                    #msg.text-center
                .modal-footer
                    button.btn.btn-default(data-dismiss='modal') 关闭

mixin script(src)
    script(type="text/javascript" src=src)